package com.aspose.cells;

class zbmi extends zbz {
   long a = 0L;

   zbmi(Chart var1) {
      this.c(4164);
      this.b(4);
      this.c = new byte[4];
      int var2 = var1.h() & 255;
      if (!var1.getPlotArea().i() || !var1.getPlotArea().l()) {
         var2 |= 24;
      }

      if (var1.c.getCount() > 1) {
         var2 |= 1;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, this.c, 0, 2);
      var1.a((byte)var2);
      switch(var1.getPlotEmptyCellsType()) {
      case 1:
         this.c[2] = 1;
         break;
      case 2:
         this.c[2] = 2;
      }

   }

   void a(Chart var1) {
      this.c = new byte[4];
      int var2 = var1.h() & 255;
      if (!var1.getPlotArea().i() || !var1.getPlotArea().l()) {
         var2 |= 24;
      }

      if (var1.c.getCount() > 1) {
         var2 |= 1;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, this.c, 0, 2);
      var1.a((byte)var2);
      switch(var1.getPlotEmptyCellsType()) {
      case 1:
         this.c[2] = 1;
         break;
      case 2:
         this.c[2] = 2;
      }

   }
}
